﻿@{
    ViewData["Title"] = "用户表查看界面";
    Layout = null;
}
<div data-toggle="topjui-layout" data-options="fit:true">
    <div data-options="region:'center',iconCls:'icon-reload',title:'',split:true,border:false,bodyCls:'border_left'">
        <div data-toggle="topjui-tabs"
             data-options="id:'centerTabs',
             fit:true,
             border:false">
            <div title="基本信息" data-options="id:'tab0',iconCls:'fa fa-th'">
                <div>
                    <div class="layui-fluid" id="FWUserDetailTable">

                    </div>
                </div>

            </div>
            @*<div title="单位信息" data-options="id:'tab1',iconCls:'fa fa-th'">
                <table id="myDg2"></table>
            </div>
            <div title="服务商信息" data-options="id:'tab2',iconCls:'fa fa-th'">
                ewrwe
            </div>
            <div title="评价信息" data-options="id:'tab2',iconCls:'fa fa-th'">
                ewrwe
            </div>*@
        </div>
    </div>
</div>

<script id="FWUserDetailTableTemplate" type="text/x-jquery-tmpl">
    <table class="layui-table">
        <colgroup>
            <col width="150">
            <col>
        </colgroup>
        <tr>
            <td>所属机构(数):</td>
            <td>
                ${buUnitNewName}
            </td>
        </tr>

        <tr>
            <td>@L("用户编码"):</td>
            <td>
                ${userCode}
            </td>
        </tr>

        <tr>
            <td>@L("用户密码"):</td>
            <td>
                ${userPassword}
            </td>
        </tr>

        <tr>
            <td>@L("用户名称"):</td>
            <td>
                ${userName}
            </td>
        </tr>

        <tr>
            <td>@L("电子邮件"):</td>
            <td>
                ${userEmail}
            </td>
        </tr>

        <tr>
            <td>@L("办公电话"):</td>
            <td>
                ${userOfficePhone}
            </td>
        </tr>

        <tr>
            <td>@L("移动电话"):</td>
            <td>
                ${userMobilePhone}
            </td>
        </tr>

        <tr>
            <td>@L("家庭电话"):</td>
            <td>
                ${userHomePhone}
            </td>
        </tr>

        <tr>
            <td>@L("域账号"):</td>
            <td>
                ${userADAccount}
            </td>
        </tr>

        <tr>
            <td>@L("是否禁用"):</td>
            <td>
                ${$.ei.boolFormatter(userIsDisabeld)}
            </td>
        </tr>

        <tr>
            <td>@L("禁用原因"):</td>
            <td>
                ${userDisabledReason}
            </td>
        </tr>

        <tr>
            <td>@L("是否管理员"):</td>
            <td>
                ${$.ei.boolFormatter(userIsAdmin)}
            </td>
        </tr>

        <tr>
            <td>@L("工号"):</td>
            <td>
                ${userJobNumber}
            </td>
        </tr>

        <tr>
            <td>@L("是否用户修改密码"):</td>
            <td>
                ${$.ei.boolFormatter(isUserChangePWD)}
            </td>
        </tr>

        <tr>
            <td>@L("是否锁定"):</td>
            <td>
                ${$.ei.boolFormatter(userIsLocked)}
            </td>
        </tr>

        <tr>
            <td>@L("锁定时间"):</td>
            <td>
                ${$.ei.dateFormatter(userLockTime)}
            </td>
        </tr>

        <tr>
            <td>@L("职务"):</td>
            <td>
                ${pUserosition}
            </td>
        </tr>

        <tr>
            <td>@L("是否正式编制"):</td>
            <td>
                ${$.ei.boolFormatter(isFormalEstablishment)}
            </td>
        </tr>

        <tr>
            <td>@L("上次IP地址"):</td>
            <td>
                ${lastIpAdress}
            </td>
        </tr>

        <tr>
            <td>@L("用户图像url(上传图片)"):</td>
            <td>
                ${userImageUrl}
            </td>
        </tr>

        <tr>
            <td>@L("原图像url(上传图片)"):</td>
            <td>
                ${userPreImageUrl}
            </td>
        </tr>

        <tr>
            <td>@L("登录失败次数"):</td>
            <td>
                ${loginErrorCount}
            </td>
        </tr>

        <tr>
            <td>@L("上一次登录失败原因"):</td>
            <td>
                ${$.ei.dateFormatter(lastLoginErrorTime)}
            </td>
        </tr>

        <tr>
            <td>@L("密码修改时间"):</td>
            <td>
                ${$.ei.dateFormatter(passwordModifyTime)}
            </td>
        </tr>

        <tr>
            <td>@L("登录时间"):</td>
            <td>
                ${$.ei.dateFormatter(loginTime)}
            </td>
        </tr>

        <tr>
            <td>@L("用户ID自增长"):</td>
            <td>
                ${userIntID}
            </td>
        </tr>

        <tr>
            <td>@L("用户签名"):</td>
            <td>
                ${userSign}
            </td>
        </tr>

    </table>
</script>
